
{%block content%}

   <table >
    <tr><th>FriendName</th><th>Frienddetail</th></tr>


<tr>
        <td>{{ friend.username }}</td>
        <td>{{ friend.date_joined }}</td>
         </tr>


    </table>
    
    <table >
  
    <tr><th>StockName</th><th>StockCompanyName</th></tr>

{% for p in perstock %}
{% ifequal p.display '0' %} 
<tr>
        <td>{{ p.stock.stock_name }}</td>
        <td>{{ p.stock.stock_companyname }}</td>
        <td><a href="/personalstock/comment/{{friend.username}}/{{ p.stock.stock_name }}">comments</a></td>
         </tr>
{%endifequal%}
{%endfor%}
    </table>

{%endblock%}


